//
//  CSL_MV_dataModel.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/4/6.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "CSL_MV_dataModel.h"
#import "CSL_Data_TagModel.h"
#import "CSL_Data_MvListModel.h"

@implementation CSL_MV_dataModel
-(instancetype)initWithDataSource:(NSDictionary *)dataSource {
    self = [super initWithDataSource:dataSource];
    NSMutableArray *mutableArray = [NSMutableArray arrayWithCapacity:0];
    for (NSDictionary *Dic in self.tag) {
        CSL_Data_TagModel *data_TagModel = [[CSL_Data_TagModel alloc] initWithDataSource:Dic];
        [mutableArray addObject:data_TagModel];
    }
    self.tag = [NSArray arrayWithArray:mutableArray];
    
    NSMutableArray *mvListmutableArray = [NSMutableArray arrayWithCapacity:0];
    for (NSDictionary *Dic in self.mvList) {
        CSL_Data_MvListModel *data_MvListModel = [[CSL_Data_MvListModel alloc] initWithDataSource:Dic];
        [mvListmutableArray addObject:data_MvListModel];
    }
    self.mvList = [NSArray arrayWithArray:mvListmutableArray];
    return self;
}


//纠错方法
-(void)setValue:(id)value forUndefinedKey:(NSString *)key {

}

-(id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

@end
